package com.situ.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value ="t_product_category")
@Schema(description = "商品分类信息表")
public class TProductCategory implements Serializable {

    @TableId
    @Schema(description = "商品分类id")
    private Integer id;

    @Schema(description = "父级分类id")
    private Long parentId;

    @Schema(description = "分类名称")
    private String name;

    @Schema(description = "分类状态")
    private Integer status;

    @Schema(description = "排序")
    private Integer sortOrder;

    @Schema(description = "是否为父级分类")
    private Integer isParent;

    @Schema(description = "创建时间")
    private Date createdTime;

    @Schema(description = "修改时间")
    private Date modifiedTime;

    @Schema(description = "创建人")
    private String createdUser;

    @Schema(description = "修改人")
    private String modifiedUser;
}